﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <style type="text/css">
        .clearfix:after {
            visibility: hidden;
            display: block;
            font-size: 0;
            content: " ";
            clear: both;
            height: 0;
        }
        .clearfix{*zoom:1;}
        body{ background: blue;}
        .divfloat
        {
            width: 50px;
            height: 50px;
            float: left;
            margin-right: 10px;
            background: yellow;
            border-top: 1px solid #CCCCCC;
            border-right: 1px solid #CCCCCC;
            border-left: 3px solid #CCCCCC;
            border-bottom: 4px solid #CCCCCC;
        }
        #divTest
        {
            height: 100px;
            width: 200px;
            background: Red;
        }
    </style>
</head>
<body>
    <div id="divMain" class="clearfix">
        <div class="divfloat">
        </div>
        <div class="divfloat">
        </div>
        <div class="divfloat">
        </div>
    </div>
    <div id="divTest">
    </div>
</body>
</html>
